package com.lzx.spring3.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.lzx.spring3.meta.User;

@Transactional
@Service
public interface UserService {

	/**
	 * 
	 * @return
	 */
	int addUser(User user);

	/**
	 * 
	 * @return
	 */
	int deleteAllUser();

	/**
	 * 
	 * @return
	 */
	List<User> getUserList();
}
